package project.model;


public class Garage implements IGarage {
	private Integer number;
	private boolean empty = true;

	private IOrder order;

	public Garage(Integer number) {
		this.number = number;
	}

	public void markGarageNotEmpty(IOrder order) {
		this.order = order;
		empty = false;

	}

	public void markGarageEmpty() {
		empty = true;
	}

	public int getNumberGarage() {
		return number;
	}

	public boolean getEmptyGarage() {
		return empty;
	}
	
	public IOrder getOrder() {
		return order;
	}

}
